header{
    .classification{
        color: #333;
        .icon-fenlei{
            font-size: 1.6rem;
            margin-right: 5px;
        }
        a{
            font-size: 1.2rem;
            color: #333;
        }
    }
    .search-block{
        font-size: .8rem;
        .icon-sousuo,.course-btn{
            display: inline-block;
            width: 45px;
            line-height: 45px;
            text-align: center;
        }
        .course-btn{
            border-top-left-radius: 3px;
            border-bottom-left-radius: 3px;
        }
        .icon-sousuo{
            background-color: rgb(35,184,255);
            color: #fff;
            font-weight: 700;
            font-size: 1.2rem;
            border-top-right-radius: 3px;
            border-bottom-right-radius: 3px;
        }
        .gary-border{
            border: 1px solid rgb(187,187,187);
            height: 45px;
        }
        .search-input{
            border-left: none;
            border-right: none;
            padding: 0 10px;
        }
        input{
            outline: none;
        }
    }
    .top-right{
        height: 100%;
        font-size: .8rem;
        a{
            color: #000;
            &:hover{
                color: #000;
                text-decoration: none;
            }
        }
        .avatar{
            width: 35px;
            height: 35px;
        }
        .extreme-edition{
            position: relative;
            &::after{
                content: '';
                width: 50px;
                height: 15px;
                position: absolute;
                top: -12px;
                right: -30px;
                background-image: url(../images/疫情专用.png);
                background-size: auto 100%;
                background-repeat: no-repeat;
            }
        }
        .icon-qq{
            color: rgb(35,184,255);
            bottom: -10px;
            left: 27px;
        }
    }
}

main{
    // 轮播图
    #carousel-container{
        background-image: url(../images/0.png);
        background-size: 10000%;
        background-position: 0 0;
        transition: background-image 1s;
    }
    #carousel{
        position: relative;
        
        .carousel-img{
            background-image: url(../images/0.png);
            background-size: auto 100%;
            transition: background-image 1s;
            height: 300px;
            width: 710px;
        }

        &:hover .iconfont{
            display: block;
        }

        .iconfont{
            position: absolute;
            height: 50px;
            width: 50px;
            line-height: 50px;
            background-color: rgba(0,0,0,.2);
            font-size: 2rem;
            color: #fff;
            font-weight: 700;
            text-align: center;
            border-radius: 100%;
            top: calc(50% - 30px);
            display: none;
            &:hover{
                background-color: rgba(0,0,0,.5);
            }
        }
        
        .icon-left-line{
            left: 10px;
        }
        .icon-right-line{
            right: 10px;
        }
    }
    // 课程表
    .course{
        font-size: .8rem;
        .avatar{
            width: 40px;
            height: 40px;
        }
        .sign-out{
            color: #888;
        }
        a{
            color: #000;
            &:hover{
                text-decoration: none;
                color: rgb(35,184,255);
            }
        }
        .favorites{
            padding: 10px 0;
        }
        .live-today{
            a{
                margin: 10px 0;
                display: block;
                width: 100%;
                height: 100%;
                &:hover{
                    color: #000;
                    background-color: #fafafa;
                }
            }
            .live-timer{
                color: #888;
            }
            .live-prompt{
                display: inline-block;
                border: .1px solid #f00;
                padding: .5px 4px;
                color: #f00;
                font-size: .6rem;
            }
        }
        .curriculum{
            background-color: #fafafa;
            &:hover{
                background-color: #f1f1f1;
            }
        }
    }
    // 导航
    .nav-bar{
        a{
            color: #666;
            &:hover{
                color: #666;
                text-decoration: none;
            }
        }
        .nav-item{
            font-size: 1.3rem;
            height: 100%;
            padding: 10px 10px;
            a{
                height: 100%;
            }
        }
        
        .active-nav-item{
            border-bottom: 5px solid rgb(35,184,255);
            a{
                color: rgb(35,184,255);
                
            }
        }
        .modify-interest{
            border: 1px solid #999;
            border-radius: 2px;
            padding: 3px 10px;
            color: #666;
            font-size: .8rem;
            &:hover{
                border-color: #000;
                color: #000;
            }
        }
    }
    
    // 免费直播课
    .free-live-lessons{
        .module-title{
            font-size: 2rem;
            padding: 40px 0 20px 0;
        }
        .left{
            padding-right: 0;
        }
        .right{
            padding-left: 0;
        }
        .forward-masking{
            background-color: rgba(0,0,0,.5);
            height: 100%;
            width: 100%;
            top: 0;
            z-index: 0;
            text-align: center;
            color: #fff;
        }
        .lesson-name{
            margin: 10% 0 5% 0;
        }
        .lesson-action-time{
            background-color: rgba(0,0,0,.5);
            margin: 0 auto;
            margin-bottom: 5%;
            padding: 10px;
            width: 50%;
            span{
                display: inline-block;
                color: rgb(35,184,255);
                margin: 0 5px;
                font-weight: 700;
            }
        }
        .see-details-btn{
            color: #fff;
            font-size: 1.2rem;
            background-color: rgb(35,184,255);
            padding: 10px 50px;
            &:hover{
                text-decoration: none;
                background-color: rgb(40,200,255);
            }
        }
        .course-info{
            background-color: rgba(0,0,0,.5);
            width: 100%;
            padding: 5px 0;
            margin: 0;
            position: absolute;
            bottom: 0;
            .teacher-avatar{
                width: 40px;
                height: 40px;
            }
            .teacher-info{
                .teacher-avatar{
                    margin: 0 10px;
                }
            }
            .source-course{
                line-height: 50px;
                display: -webkit-box;
                -webkit-line-clamp: 1;
                -webkit-box-orient: vertical;
                overflow: hidden;
                a{
                    color: #fff;
                    &:hover{
                        color: rgb(35,184,255);
                        text-decoration: none;
                    }
                }
            }
        }

        .course-list{
            height: 100%;
            background-color: rgb(244,244,244);
            overflow-y: scroll;
            border: .1px solid rgb(238,238,238);
            border-left: none;
            .list-item{
                height: 14.3%;
                border-left: 5px solid rgb(244,244,244);
                position: relative;
                .action-time{
                    display: flex;
                    height: 100%;
                    align-items: center;
                    margin-left: 30px;
                    padding: 0 30px;
                    border-left: 1px dotted rgb(187,187,187);
                }
                .item-dotted{
                    display: inline-block;
                    position: absolute;
                    left: 26.5px;
                    height: 8px;
                    width: 8px;
                    background-color: rgb(187,187,187);
                    border-radius: 100%;
                }
                .course-name{
                    color: #000;
                }
                a{
                    color: rgb(187,187,187);
                    height: 100%;
                    &:hover{
                        text-decoration: none;
                    }
                }
            }
            .active-item{
                border-left-color: rgb(35,184,255);
                background-color: #fff;
                .course-name,a{
                    color: rgb(35,184,255);
                }
            }
        }
        .internet-high-paying-jobs{
            margin: 80px 0;
        }
    }
    .official-recommended-course{
        .get-more{
            text-align: right;
            color: #333;
            &:hover{
                text-decoration: none;
                color: rgb(35,184,255);
            }
        }
        .module-title{
            padding-bottom: 20px;
            border-bottom: 5px solid #f1f1f1;
            margin: 0;
            margin-bottom: 10px;
        }
        .kecheng-list{
            .kecheng-item{
                padding: .5%;
                width: 19%;
                margin-bottom: 30px;
                margin-right: 1%;
                img{
                    width: 100%;
                }
                &:hover{
                    box-shadow: 0 0 3px 0 #000;
                }
                .kecheng-title{
                    margin: 5px 0;
                }
                .price{
                    color: #f00;
                }
                .num-purchasers,.schedule{
                    color: #888;
                    font-size: .8rem;
                }
                
            }
            a{
                color: #000;
                &:hover{
                    text-decoration: none;
                }
            }
        }
    }
    .all-courses-java{
        color: #000;
        &:hover{
            color: rgb(35,184,255);
            text-decoration: none;
        }
        .icon-right-line{
            font-size: 1.6rem;
        }
    }
}

footer{
    margin-top: 60px;
    background-color: rgb(68,69,71);
    color: rgb(153,153,153);
    a{
        color: rgb(153,153,153);
        &:hover{
            color: rgb(153,153,153);
        }
    }
    .related-links{        
        li{
            margin-right: 30px;
            margin-bottom: 10px;
            font-size: .8rem;
        }
    }
    p{
        color: rgb(100,100,100);
    }
    .web-site-protocol{
        li{
            padding:0 5px;
        }
        li,a{
            font-size: .8rem;
            color: rgb(100,100,100);
        }
        .li-link-item{
            border-left: 1px solid rgb(100,100,100);
        }
    }
}